package com.cnvai.cms.javabean.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class YgdlzhbExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public YgdlzhbExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andYgidIsNull() {
            addCriterion("YGID is null");
            return (Criteria) this;
        }

        public Criteria andYgidIsNotNull() {
            addCriterion("YGID is not null");
            return (Criteria) this;
        }

        public Criteria andYgidEqualTo(BigDecimal value) {
            addCriterion("YGID =", value, "ygid");
            return (Criteria) this;
        }

        public Criteria andYgidNotEqualTo(BigDecimal value) {
            addCriterion("YGID <>", value, "ygid");
            return (Criteria) this;
        }

        public Criteria andYgidGreaterThan(BigDecimal value) {
            addCriterion("YGID >", value, "ygid");
            return (Criteria) this;
        }

        public Criteria andYgidGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("YGID >=", value, "ygid");
            return (Criteria) this;
        }

        public Criteria andYgidLessThan(BigDecimal value) {
            addCriterion("YGID <", value, "ygid");
            return (Criteria) this;
        }

        public Criteria andYgidLessThanOrEqualTo(BigDecimal value) {
            addCriterion("YGID <=", value, "ygid");
            return (Criteria) this;
        }

        public Criteria andYgidIn(List<BigDecimal> values) {
            addCriterion("YGID in", values, "ygid");
            return (Criteria) this;
        }

        public Criteria andYgidNotIn(List<BigDecimal> values) {
            addCriterion("YGID not in", values, "ygid");
            return (Criteria) this;
        }

        public Criteria andYgidBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("YGID between", value1, value2, "ygid");
            return (Criteria) this;
        }

        public Criteria andYgidNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("YGID not between", value1, value2, "ygid");
            return (Criteria) this;
        }

        public Criteria andYgztidIsNull() {
            addCriterion("YGZTID is null");
            return (Criteria) this;
        }

        public Criteria andYgztidIsNotNull() {
            addCriterion("YGZTID is not null");
            return (Criteria) this;
        }

        public Criteria andYgztidEqualTo(BigDecimal value) {
            addCriterion("YGZTID =", value, "ygztid");
            return (Criteria) this;
        }

        public Criteria andYgztidNotEqualTo(BigDecimal value) {
            addCriterion("YGZTID <>", value, "ygztid");
            return (Criteria) this;
        }

        public Criteria andYgztidGreaterThan(BigDecimal value) {
            addCriterion("YGZTID >", value, "ygztid");
            return (Criteria) this;
        }

        public Criteria andYgztidGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("YGZTID >=", value, "ygztid");
            return (Criteria) this;
        }

        public Criteria andYgztidLessThan(BigDecimal value) {
            addCriterion("YGZTID <", value, "ygztid");
            return (Criteria) this;
        }

        public Criteria andYgztidLessThanOrEqualTo(BigDecimal value) {
            addCriterion("YGZTID <=", value, "ygztid");
            return (Criteria) this;
        }

        public Criteria andYgztidIn(List<BigDecimal> values) {
            addCriterion("YGZTID in", values, "ygztid");
            return (Criteria) this;
        }

        public Criteria andYgztidNotIn(List<BigDecimal> values) {
            addCriterion("YGZTID not in", values, "ygztid");
            return (Criteria) this;
        }

        public Criteria andYgztidBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("YGZTID between", value1, value2, "ygztid");
            return (Criteria) this;
        }

        public Criteria andYgztidNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("YGZTID not between", value1, value2, "ygztid");
            return (Criteria) this;
        }

        public Criteria andManagebzIsNull() {
            addCriterion("MANAGEBZ is null");
            return (Criteria) this;
        }

        public Criteria andManagebzIsNotNull() {
            addCriterion("MANAGEBZ is not null");
            return (Criteria) this;
        }

        public Criteria andManagebzEqualTo(BigDecimal value) {
            addCriterion("MANAGEBZ =", value, "managebz");
            return (Criteria) this;
        }

        public Criteria andManagebzNotEqualTo(BigDecimal value) {
            addCriterion("MANAGEBZ <>", value, "managebz");
            return (Criteria) this;
        }

        public Criteria andManagebzGreaterThan(BigDecimal value) {
            addCriterion("MANAGEBZ >", value, "managebz");
            return (Criteria) this;
        }

        public Criteria andManagebzGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("MANAGEBZ >=", value, "managebz");
            return (Criteria) this;
        }

        public Criteria andManagebzLessThan(BigDecimal value) {
            addCriterion("MANAGEBZ <", value, "managebz");
            return (Criteria) this;
        }

        public Criteria andManagebzLessThanOrEqualTo(BigDecimal value) {
            addCriterion("MANAGEBZ <=", value, "managebz");
            return (Criteria) this;
        }

        public Criteria andManagebzIn(List<BigDecimal> values) {
            addCriterion("MANAGEBZ in", values, "managebz");
            return (Criteria) this;
        }

        public Criteria andManagebzNotIn(List<BigDecimal> values) {
            addCriterion("MANAGEBZ not in", values, "managebz");
            return (Criteria) this;
        }

        public Criteria andManagebzBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MANAGEBZ between", value1, value2, "managebz");
            return (Criteria) this;
        }

        public Criteria andManagebzNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MANAGEBZ not between", value1, value2, "managebz");
            return (Criteria) this;
        }

        public Criteria andZbjlbzIsNull() {
            addCriterion("ZBJLBZ is null");
            return (Criteria) this;
        }

        public Criteria andZbjlbzIsNotNull() {
            addCriterion("ZBJLBZ is not null");
            return (Criteria) this;
        }

        public Criteria andZbjlbzEqualTo(BigDecimal value) {
            addCriterion("ZBJLBZ =", value, "zbjlbz");
            return (Criteria) this;
        }

        public Criteria andZbjlbzNotEqualTo(BigDecimal value) {
            addCriterion("ZBJLBZ <>", value, "zbjlbz");
            return (Criteria) this;
        }

        public Criteria andZbjlbzGreaterThan(BigDecimal value) {
            addCriterion("ZBJLBZ >", value, "zbjlbz");
            return (Criteria) this;
        }

        public Criteria andZbjlbzGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ZBJLBZ >=", value, "zbjlbz");
            return (Criteria) this;
        }

        public Criteria andZbjlbzLessThan(BigDecimal value) {
            addCriterion("ZBJLBZ <", value, "zbjlbz");
            return (Criteria) this;
        }

        public Criteria andZbjlbzLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ZBJLBZ <=", value, "zbjlbz");
            return (Criteria) this;
        }

        public Criteria andZbjlbzIn(List<BigDecimal> values) {
            addCriterion("ZBJLBZ in", values, "zbjlbz");
            return (Criteria) this;
        }

        public Criteria andZbjlbzNotIn(List<BigDecimal> values) {
            addCriterion("ZBJLBZ not in", values, "zbjlbz");
            return (Criteria) this;
        }

        public Criteria andZbjlbzBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ZBJLBZ between", value1, value2, "zbjlbz");
            return (Criteria) this;
        }

        public Criteria andZbjlbzNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ZBJLBZ not between", value1, value2, "zbjlbz");
            return (Criteria) this;
        }

        public Criteria andZwIsNull() {
            addCriterion("ZW is null");
            return (Criteria) this;
        }

        public Criteria andZwIsNotNull() {
            addCriterion("ZW is not null");
            return (Criteria) this;
        }

        public Criteria andZwEqualTo(String value) {
            addCriterion("ZW =", value, "zw");
            return (Criteria) this;
        }

        public Criteria andZwNotEqualTo(String value) {
            addCriterion("ZW <>", value, "zw");
            return (Criteria) this;
        }

        public Criteria andZwGreaterThan(String value) {
            addCriterion("ZW >", value, "zw");
            return (Criteria) this;
        }

        public Criteria andZwGreaterThanOrEqualTo(String value) {
            addCriterion("ZW >=", value, "zw");
            return (Criteria) this;
        }

        public Criteria andZwLessThan(String value) {
            addCriterion("ZW <", value, "zw");
            return (Criteria) this;
        }

        public Criteria andZwLessThanOrEqualTo(String value) {
            addCriterion("ZW <=", value, "zw");
            return (Criteria) this;
        }

        public Criteria andZwLike(String value) {
            addCriterion("ZW like", value, "zw");
            return (Criteria) this;
        }

        public Criteria andZwNotLike(String value) {
            addCriterion("ZW not like", value, "zw");
            return (Criteria) this;
        }

        public Criteria andZwIn(List<String> values) {
            addCriterion("ZW in", values, "zw");
            return (Criteria) this;
        }

        public Criteria andZwNotIn(List<String> values) {
            addCriterion("ZW not in", values, "zw");
            return (Criteria) this;
        }

        public Criteria andZwBetween(String value1, String value2) {
            addCriterion("ZW between", value1, value2, "zw");
            return (Criteria) this;
        }

        public Criteria andZwNotBetween(String value1, String value2) {
            addCriterion("ZW not between", value1, value2, "zw");
            return (Criteria) this;
        }

        public Criteria andYgqxIsNull() {
            addCriterion("YGQX is null");
            return (Criteria) this;
        }

        public Criteria andYgqxIsNotNull() {
            addCriterion("YGQX is not null");
            return (Criteria) this;
        }

        public Criteria andYgqxEqualTo(String value) {
            addCriterion("YGQX =", value, "ygqx");
            return (Criteria) this;
        }

        public Criteria andYgqxNotEqualTo(String value) {
            addCriterion("YGQX <>", value, "ygqx");
            return (Criteria) this;
        }

        public Criteria andYgqxGreaterThan(String value) {
            addCriterion("YGQX >", value, "ygqx");
            return (Criteria) this;
        }

        public Criteria andYgqxGreaterThanOrEqualTo(String value) {
            addCriterion("YGQX >=", value, "ygqx");
            return (Criteria) this;
        }

        public Criteria andYgqxLessThan(String value) {
            addCriterion("YGQX <", value, "ygqx");
            return (Criteria) this;
        }

        public Criteria andYgqxLessThanOrEqualTo(String value) {
            addCriterion("YGQX <=", value, "ygqx");
            return (Criteria) this;
        }

        public Criteria andYgqxLike(String value) {
            addCriterion("YGQX like", value, "ygqx");
            return (Criteria) this;
        }

        public Criteria andYgqxNotLike(String value) {
            addCriterion("YGQX not like", value, "ygqx");
            return (Criteria) this;
        }

        public Criteria andYgqxIn(List<String> values) {
            addCriterion("YGQX in", values, "ygqx");
            return (Criteria) this;
        }

        public Criteria andYgqxNotIn(List<String> values) {
            addCriterion("YGQX not in", values, "ygqx");
            return (Criteria) this;
        }

        public Criteria andYgqxBetween(String value1, String value2) {
            addCriterion("YGQX between", value1, value2, "ygqx");
            return (Criteria) this;
        }

        public Criteria andYgqxNotBetween(String value1, String value2) {
            addCriterion("YGQX not between", value1, value2, "ygqx");
            return (Criteria) this;
        }

        public Criteria andZbsxIsNull() {
            addCriterion("ZBSX is null");
            return (Criteria) this;
        }

        public Criteria andZbsxIsNotNull() {
            addCriterion("ZBSX is not null");
            return (Criteria) this;
        }

        public Criteria andZbsxEqualTo(BigDecimal value) {
            addCriterion("ZBSX =", value, "zbsx");
            return (Criteria) this;
        }

        public Criteria andZbsxNotEqualTo(BigDecimal value) {
            addCriterion("ZBSX <>", value, "zbsx");
            return (Criteria) this;
        }

        public Criteria andZbsxGreaterThan(BigDecimal value) {
            addCriterion("ZBSX >", value, "zbsx");
            return (Criteria) this;
        }

        public Criteria andZbsxGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ZBSX >=", value, "zbsx");
            return (Criteria) this;
        }

        public Criteria andZbsxLessThan(BigDecimal value) {
            addCriterion("ZBSX <", value, "zbsx");
            return (Criteria) this;
        }

        public Criteria andZbsxLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ZBSX <=", value, "zbsx");
            return (Criteria) this;
        }

        public Criteria andZbsxIn(List<BigDecimal> values) {
            addCriterion("ZBSX in", values, "zbsx");
            return (Criteria) this;
        }

        public Criteria andZbsxNotIn(List<BigDecimal> values) {
            addCriterion("ZBSX not in", values, "zbsx");
            return (Criteria) this;
        }

        public Criteria andZbsxBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ZBSX between", value1, value2, "zbsx");
            return (Criteria) this;
        }

        public Criteria andZbsxNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ZBSX not between", value1, value2, "zbsx");
            return (Criteria) this;
        }

        public Criteria andRzsjIsNull() {
            addCriterion("RZSJ is null");
            return (Criteria) this;
        }

        public Criteria andRzsjIsNotNull() {
            addCriterion("RZSJ is not null");
            return (Criteria) this;
        }

        public Criteria andRzsjEqualTo(Date value) {
            addCriterionForJDBCDate("RZSJ =", value, "rzsj");
            return (Criteria) this;
        }

        public Criteria andRzsjNotEqualTo(Date value) {
            addCriterionForJDBCDate("RZSJ <>", value, "rzsj");
            return (Criteria) this;
        }

        public Criteria andRzsjGreaterThan(Date value) {
            addCriterionForJDBCDate("RZSJ >", value, "rzsj");
            return (Criteria) this;
        }

        public Criteria andRzsjGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("RZSJ >=", value, "rzsj");
            return (Criteria) this;
        }

        public Criteria andRzsjLessThan(Date value) {
            addCriterionForJDBCDate("RZSJ <", value, "rzsj");
            return (Criteria) this;
        }

        public Criteria andRzsjLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("RZSJ <=", value, "rzsj");
            return (Criteria) this;
        }

        public Criteria andRzsjIn(List<Date> values) {
            addCriterionForJDBCDate("RZSJ in", values, "rzsj");
            return (Criteria) this;
        }

        public Criteria andRzsjNotIn(List<Date> values) {
            addCriterionForJDBCDate("RZSJ not in", values, "rzsj");
            return (Criteria) this;
        }

        public Criteria andRzsjBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("RZSJ between", value1, value2, "rzsj");
            return (Criteria) this;
        }

        public Criteria andRzsjNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("RZSJ not between", value1, value2, "rzsj");
            return (Criteria) this;
        }

        public Criteria andYgzhIsNull() {
            addCriterion("YGZH is null");
            return (Criteria) this;
        }

        public Criteria andYgzhIsNotNull() {
            addCriterion("YGZH is not null");
            return (Criteria) this;
        }

        public Criteria andYgzhEqualTo(String value) {
            addCriterion("YGZH =", value, "ygzh");
            return (Criteria) this;
        }

        public Criteria andYgzhNotEqualTo(String value) {
            addCriterion("YGZH <>", value, "ygzh");
            return (Criteria) this;
        }

        public Criteria andYgzhGreaterThan(String value) {
            addCriterion("YGZH >", value, "ygzh");
            return (Criteria) this;
        }

        public Criteria andYgzhGreaterThanOrEqualTo(String value) {
            addCriterion("YGZH >=", value, "ygzh");
            return (Criteria) this;
        }

        public Criteria andYgzhLessThan(String value) {
            addCriterion("YGZH <", value, "ygzh");
            return (Criteria) this;
        }

        public Criteria andYgzhLessThanOrEqualTo(String value) {
            addCriterion("YGZH <=", value, "ygzh");
            return (Criteria) this;
        }

        public Criteria andYgzhLike(String value) {
            addCriterion("YGZH like", value, "ygzh");
            return (Criteria) this;
        }

        public Criteria andYgzhNotLike(String value) {
            addCriterion("YGZH not like", value, "ygzh");
            return (Criteria) this;
        }

        public Criteria andYgzhIn(List<String> values) {
            addCriterion("YGZH in", values, "ygzh");
            return (Criteria) this;
        }

        public Criteria andYgzhNotIn(List<String> values) {
            addCriterion("YGZH not in", values, "ygzh");
            return (Criteria) this;
        }

        public Criteria andYgzhBetween(String value1, String value2) {
            addCriterion("YGZH between", value1, value2, "ygzh");
            return (Criteria) this;
        }

        public Criteria andYgzhNotBetween(String value1, String value2) {
            addCriterion("YGZH not between", value1, value2, "ygzh");
            return (Criteria) this;
        }

        public Criteria andBmidIsNull() {
            addCriterion("BMID is null");
            return (Criteria) this;
        }

        public Criteria andBmidIsNotNull() {
            addCriterion("BMID is not null");
            return (Criteria) this;
        }

        public Criteria andBmidEqualTo(BigDecimal value) {
            addCriterion("BMID =", value, "bmid");
            return (Criteria) this;
        }

        public Criteria andBmidNotEqualTo(BigDecimal value) {
            addCriterion("BMID <>", value, "bmid");
            return (Criteria) this;
        }

        public Criteria andBmidGreaterThan(BigDecimal value) {
            addCriterion("BMID >", value, "bmid");
            return (Criteria) this;
        }

        public Criteria andBmidGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("BMID >=", value, "bmid");
            return (Criteria) this;
        }

        public Criteria andBmidLessThan(BigDecimal value) {
            addCriterion("BMID <", value, "bmid");
            return (Criteria) this;
        }

        public Criteria andBmidLessThanOrEqualTo(BigDecimal value) {
            addCriterion("BMID <=", value, "bmid");
            return (Criteria) this;
        }

        public Criteria andBmidIn(List<BigDecimal> values) {
            addCriterion("BMID in", values, "bmid");
            return (Criteria) this;
        }

        public Criteria andBmidNotIn(List<BigDecimal> values) {
            addCriterion("BMID not in", values, "bmid");
            return (Criteria) this;
        }

        public Criteria andBmidBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("BMID between", value1, value2, "bmid");
            return (Criteria) this;
        }

        public Criteria andBmidNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("BMID not between", value1, value2, "bmid");
            return (Criteria) this;
        }

        public Criteria andSfwlIsNull() {
            addCriterion("SFWL is null");
            return (Criteria) this;
        }

        public Criteria andSfwlIsNotNull() {
            addCriterion("SFWL is not null");
            return (Criteria) this;
        }

        public Criteria andSfwlEqualTo(String value) {
            addCriterion("SFWL =", value, "sfwl");
            return (Criteria) this;
        }

        public Criteria andSfwlNotEqualTo(String value) {
            addCriterion("SFWL <>", value, "sfwl");
            return (Criteria) this;
        }

        public Criteria andSfwlGreaterThan(String value) {
            addCriterion("SFWL >", value, "sfwl");
            return (Criteria) this;
        }

        public Criteria andSfwlGreaterThanOrEqualTo(String value) {
            addCriterion("SFWL >=", value, "sfwl");
            return (Criteria) this;
        }

        public Criteria andSfwlLessThan(String value) {
            addCriterion("SFWL <", value, "sfwl");
            return (Criteria) this;
        }

        public Criteria andSfwlLessThanOrEqualTo(String value) {
            addCriterion("SFWL <=", value, "sfwl");
            return (Criteria) this;
        }

        public Criteria andSfwlLike(String value) {
            addCriterion("SFWL like", value, "sfwl");
            return (Criteria) this;
        }

        public Criteria andSfwlNotLike(String value) {
            addCriterion("SFWL not like", value, "sfwl");
            return (Criteria) this;
        }

        public Criteria andSfwlIn(List<String> values) {
            addCriterion("SFWL in", values, "sfwl");
            return (Criteria) this;
        }

        public Criteria andSfwlNotIn(List<String> values) {
            addCriterion("SFWL not in", values, "sfwl");
            return (Criteria) this;
        }

        public Criteria andSfwlBetween(String value1, String value2) {
            addCriterion("SFWL between", value1, value2, "sfwl");
            return (Criteria) this;
        }

        public Criteria andSfwlNotBetween(String value1, String value2) {
            addCriterion("SFWL not between", value1, value2, "sfwl");
            return (Criteria) this;
        }

        public Criteria andWbxxggsjIsNull() {
            addCriterion("WBXXGGSJ is null");
            return (Criteria) this;
        }

        public Criteria andWbxxggsjIsNotNull() {
            addCriterion("WBXXGGSJ is not null");
            return (Criteria) this;
        }

        public Criteria andWbxxggsjEqualTo(Date value) {
            addCriterionForJDBCDate("WBXXGGSJ =", value, "wbxxggsj");
            return (Criteria) this;
        }

        public Criteria andWbxxggsjNotEqualTo(Date value) {
            addCriterionForJDBCDate("WBXXGGSJ <>", value, "wbxxggsj");
            return (Criteria) this;
        }

        public Criteria andWbxxggsjGreaterThan(Date value) {
            addCriterionForJDBCDate("WBXXGGSJ >", value, "wbxxggsj");
            return (Criteria) this;
        }

        public Criteria andWbxxggsjGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("WBXXGGSJ >=", value, "wbxxggsj");
            return (Criteria) this;
        }

        public Criteria andWbxxggsjLessThan(Date value) {
            addCriterionForJDBCDate("WBXXGGSJ <", value, "wbxxggsj");
            return (Criteria) this;
        }

        public Criteria andWbxxggsjLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("WBXXGGSJ <=", value, "wbxxggsj");
            return (Criteria) this;
        }

        public Criteria andWbxxggsjIn(List<Date> values) {
            addCriterionForJDBCDate("WBXXGGSJ in", values, "wbxxggsj");
            return (Criteria) this;
        }

        public Criteria andWbxxggsjNotIn(List<Date> values) {
            addCriterionForJDBCDate("WBXXGGSJ not in", values, "wbxxggsj");
            return (Criteria) this;
        }

        public Criteria andWbxxggsjBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("WBXXGGSJ between", value1, value2, "wbxxggsj");
            return (Criteria) this;
        }

        public Criteria andWbxxggsjNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("WBXXGGSJ not between", value1, value2, "wbxxggsj");
            return (Criteria) this;
        }

        public Criteria andWljsidIsNull() {
            addCriterion("WLJSID is null");
            return (Criteria) this;
        }

        public Criteria andWljsidIsNotNull() {
            addCriterion("WLJSID is not null");
            return (Criteria) this;
        }

        public Criteria andWljsidEqualTo(BigDecimal value) {
            addCriterion("WLJSID =", value, "wljsid");
            return (Criteria) this;
        }

        public Criteria andWljsidNotEqualTo(BigDecimal value) {
            addCriterion("WLJSID <>", value, "wljsid");
            return (Criteria) this;
        }

        public Criteria andWljsidGreaterThan(BigDecimal value) {
            addCriterion("WLJSID >", value, "wljsid");
            return (Criteria) this;
        }

        public Criteria andWljsidGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("WLJSID >=", value, "wljsid");
            return (Criteria) this;
        }

        public Criteria andWljsidLessThan(BigDecimal value) {
            addCriterion("WLJSID <", value, "wljsid");
            return (Criteria) this;
        }

        public Criteria andWljsidLessThanOrEqualTo(BigDecimal value) {
            addCriterion("WLJSID <=", value, "wljsid");
            return (Criteria) this;
        }

        public Criteria andWljsidIn(List<BigDecimal> values) {
            addCriterion("WLJSID in", values, "wljsid");
            return (Criteria) this;
        }

        public Criteria andWljsidNotIn(List<BigDecimal> values) {
            addCriterion("WLJSID not in", values, "wljsid");
            return (Criteria) this;
        }

        public Criteria andWljsidBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("WLJSID between", value1, value2, "wljsid");
            return (Criteria) this;
        }

        public Criteria andWljsidNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("WLJSID not between", value1, value2, "wljsid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}